package org.springblade.modules.admin.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import org.springblade.core.mp.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

/**
 * 任务关联表实体类
 *
 * @author ysq
 * @since 2022-03-09
 */
@Data
@TableName("blade_maintain_plan_relation")
@ApiModel(value = "MaintainPlanRelation对象", description = "任务关联表")
public class MaintainPlanRelation implements Serializable {

	private static final long serialVersionUID = 1L;

	/**
	 * 主键
	 */
	@JsonSerialize(using = ToStringSerializer.class)
	@ApiModelProperty(value = "主键")
	@TableId(value = "id", type = IdType.ASSIGN_ID)
	private Long id;

	/**
	* planid(自己)
	*/
	@ApiModelProperty(value = "planid(自己)")
	private Long ownPlanId;
	/**
	* planid(来源)
	*/
	@ApiModelProperty(value = "planid(来源)")
	private Long fromPlanId;

}
